const { pauseToken: PT } = require('../utils/token')

const getList = (req, res, next) => {

  next()
}

const remove = (req, res, next) => {
  const{commentId}=req.body

  if (!commentId) return next({
    message: 'commentId 内容不对哦 (#^.^#), 需要的是一个数字, 但是你给的并不是',
    code: 5,
    tips: `你传递给后端的 commentId 内容是 : '${ commentId }'`
  })

  next()
}




module.exports = {
  getList,
  remove
}
